+ ./gen.py + g++ uradna1.cpp -ouradna + ./uradna + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./0 + g++ -fpermissive 0.c -o./0 0.c: In function ‘int main()’: 0.c:10:27: warning: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive] 10 | char * in = malloc(200000); | ~~~~~~^~~~~~~~ | | | void* 0.c:11:30: warning: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive] 11 | char * sznak = malloc(200000); // stack znakov | ~~~~~~^~~~~~~~ | | | void* 0.c:12:29: warning: invalid conversion from ‘void*’ to ‘long int*’ [-fpermissive] 12 | long * spoz = malloc(200000*sizeof(*spoz)); // stack pozicije odpirajočega | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ | | | void* 0.c:13:31: warning: invalid conversion from ‘void*’ to ‘long int*’ [-fpermissive] 13 | long * inanot = malloc(200000*sizeof(*inanot)); // anotacije okl izr: (a, b) je okl izr (0based), če inanot[a] = b. to ni ekvivalenca, (a, c) je okl izr, če exists b \ni: inanot[a] = b \wedge inanot[b] = c | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | | | void* 0.c:14:29: warning: invalid conversion from ‘void*’ to ‘long int*’ [-fpermissive] 14 | long * inid = malloc(200000*sizeof(*inid)); // id okl izraza (anotacija in niza) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ | | | void* + ./0 real 0m0,008s user 0m0,005s sys 0m0,003s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./tbd + g++ -fpermissive tbd.cpp -o./tbd + ./tbd real 0m3,658s user 0m3,641s sys 0m0,005s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./uradna1 + g++ -fpermissive uradna1.cpp -o./uradna1 + ./uradna1 real 0m0,094s user 0m0,041s sys 0m0,052s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./uradna2 + g++ -fpermissive uradna2.cpp -o./uradna2 + ./uradna2 real 0m0,031s user 0m0,027s sys 0m0,003s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./žgance_jem + g++ -fpermissive žgance_jem.cpp -o./žgance_jem + ./žgance_jem real 0m3,108s user 0m3,040s sys 0m0,055s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./luftkanali + g++ -fpermissive luftkanali.cpp -o./luftkanali + ./luftkanali real 0m0,012s user 0m0,009s sys 0m0,002s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./covid_19 + g++ -fpermissive covid_19.cpp -o./covid_19 + ./covid_19 real 0m0,015s user 0m0,011s sys 0m0,003s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./the_org + g++ -fpermissive the_org.cpp -o./the_org the_org.cpp: In function ‘int main()’: the_org.cpp:145:12: warning: ignoring return value of ‘std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits]’, declared with attribute ‘nodiscard’ [-Wunused-result] 145 | cin.tie(); | ~~~~~~~^~ In file included from /usr/include/c++/15.2.1/ios:48, from /usr/include/c++/15.2.1/bits/ostream.h:43, from /usr/include/c++/15.2.1/ostream:42, from /usr/include/c++/15.2.1/iostream:43, from the_org.cpp:1: /usr/include/c++/15.2.1/bits/basic_ios.h:310:7: note: declared here 310 | tie() const | ^~~ the_org.cpp:146:13: warning: ignoring return value of ‘std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits]’, declared with attribute ‘nodiscard’ [-Wunused-result] 146 | cout.tie(); | ~~~~~~~~^~ /usr/include/c++/15.2.1/bits/basic_ios.h:310:7: note: declared here 310 | tie() const | ^~~ + ./the_org real 0m0,022s user 0m0,020s sys 0m0,001s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./predzadnja_rešitev + g++ -fpermissive predzadnja_rešitev.c -o./predzadnja_rešitev + ./predzadnja_rešitev real 0m0,012s user 0m0,008s sys 0m0,003s + diff --ignore-trailing-space out.txt pravilno.txt + for i in 0.c tbd.cpp uradna1.cpp uradna2.cpp žgance_jem.cpp luftkanali.cpp covid_19.cpp the_org.cpp predzadnja_rešitev.c segment_trio.cpp ++ cut -d. -f1 + bin=./segment_trio + g++ -fpermissive segment_trio.cpp -o./segment_trio + ./segment_trio real 0m0,112s user 0m0,060s sys 0m0,052s + diff --ignore-trailing-space out.txt pravilno.txt